<layout name="Common/layout" />
	    <!--头部end-->
	    <!--轮播区域-->
	    <div class="full_big_eye">
	
	        <!--菜单-->
	    	<div class="index_type">
	    		<ul class="index_type_ul">

	    		<foreach name='catlist' item='ca'>
	    			<if condition="$ca['parent_id'] eq 0">
	    			<li>
                        <span>{{$ca['cat_name']}}<b>></b></span>
                        <div class="nav_type_list" data="1">
                            <ul>
                            	<foreach name="catlist" item="cc">
                            	<if condition="$cc['parent_id'] eq $ca['id']">
                                <li><a href="{{:U('Search/cat_search?cat_id='.$cc['id'], '', FALSE)}}" target="_blank">{{$cc['cat_name']}}</a></li>
                                </if>
                               </foreach>
                            </ul>
                        </div>
	    			</li>
	    			</if>
	    		</foreach>	
	    		</ul>
	    	</div>
	        <!--菜单-->
	        <!--轮播图-->
	        <script type="text/javascript">
			$(function(){
				//轮播图效果
				var c = 0;
				//加一个时间事件
				function timer(){
				    //获得序号
				    c++;
				    if(c==6){
				    	c=0;
				    }
//				    alert(c);
				    //让自己显示，兄弟元素隐藏
				    $("#inBaner .big_eye_pic li").eq(c).stop().fadeIn(1800).siblings().fadeOut(800);
				    //改变颜色
				    $("#inBaner .btn ul li").eq(c).stop().addClass("cur").siblings().removeClass("cur");
				}
				time = setInterval(timer,2000);
				//给图片添加一个移入移出效果
				$("#inBaner").hover(function(){
					//停止时间
					clearInterval(time);
				},function(){
					//时间继续
					time = setInterval(timer,2000);
				});
				//给色块添加一个移入移出事件
				$("#inBaner .btn ul li").mouseenter(function(){
					var n = $(this).index();
					//让第一个人图片显示 其余的隐藏
					$("#inBaner .big_eye_pic li").eq(n).stop().show().siblings().hide();
					//改变颜色
					$("#inBaner .btn ul li").eq(n).stop().addClass("cur").siblings().removeClass("cur");
				});
				//添加一个点击事件
				$(".her_top .her_title .her_menu li").click(function(){
					var n = $(this).index();
					//切换颜色
					$(".her_menu li").eq(n).addClass("current").siblings().removeClass("current");
					//切换商品
					$(".her_top .pro_con").eq(n).show().siblings(".pro_con").hide();
				})
				//搜索框下滑
				$(window).scroll(function(){
					//获得滚动条距离顶部距离
					var t = $(document).scrollTop();
					    document.title = t;
					    if(t>530){
					    	$("#nav").show();
					    }else{
					    	$("#nav").hide();
					    }
				});
			});
		</script>
	        <div class="full_eye">
	        	<div id="inBaner">
	        		<ul class="big_eye_pic">
	        			<li style="display: block;">
	        				<a href="" class="img_box">
	        					<img src="__PUBLIC__/Home/image/web-101-101-1.jpg"/>
	        				</a>
	        			</li>
	        			<li>
	        				<a href="" class="tpl">
	        					<img src="__PUBLIC__/Home/image/web-101-101-2.jpg"/>
	        				</a>
	        			</li>
	        			<li>
	        				<a href="" class="tpl">
	        					<img src="__PUBLIC__/Home/image/web-101-101-3.jpg"/>
	        				</a>
	        			</li>
	        			<li>
	        				<a href="" class="tpl">
	        					<img src="__PUBLIC__/Home/image/web-101-101-4.jpg"/>
	        				</a>
	        			</li>
	        			<li>
	        				<a href="" class="tpl">
	        					<img src="__PUBLIC__/Home/image/web-101-101-5.jpg"/>
	        				</a>
	        			</li>
	        		</ul>
	        		<div class="btn">
	        		    <ul>
	        		    	<li class="cur"></li>
	        		    	<li></li>
	        		    	<li></li>
	        		    	<li></li>
	        		    	<li></li>
	        		    </ul>
	        		</div>
	        	</div>
	        </div>
	        <!--轮播图-->
	    </div>
	    <!--轮播区域-->
	    <!--商品区-->
	    <div class="w1200">
	    	<div class="her_top">
	    		<div class="her_title">
	    			<ul class="her_menu">
	    				<li class="current">
	    					<i class="today_zb_icon"></i>
	    					精选服饰
	    					<i class="jx_icon_down"></i>
	    				</li>
	    				<li>
	    					<i class="yesto_icon"></i>
	    					新品上市
	    					<i class="jx_icon_down"></i>
	    				</li>
	    			</ul>
	    		</div>
	    	    <div class="pro_con" style="display: block;">
	    	    	<div class="P_left">
	    	    		<div class="groDiv">
	    	    			<div style="position: relative;overflow: hidden;">
	    	    				<ul class="groUlOut">
	    	    				<foreach name='goods4' item="gss4">
	    	    					<li style="float: left;width: 224px;">
	    	    						<div class="x">精选服饰1</div>
	    	    						<a href="{{:U('goods',array('id'=>$gss4['id']))}}" class="pro">
	    	    							<img src="__PUBLIC__/Uploads/{{$gss4['mid_logo']}}"/>
	    	    						</a>
	    	    						<p class="box_glay">
	    	    							<a href="" class="pro_text">
	    	    								<span>{{$gss4['goods_name']}}</span>
	    	    							</a>
	    	    						</p>
	    	    						<p class="p_num">
	    	    							No.{{$gss4['id']}}
	    	    						</p>
	    	    						<div class="now_price">
	    	    							<div class="price">
	    	    								<span class="bigfont">
	    	    									<span class="f_14">￥</span><span>{{$gss4['shop_price']}}</span>
	    	    								</span>
	    	    								<span><del>￥{{$gss4['market_price']}}</del></span>
	    	    								<div class="zk"><?php echo sprintf('%.1f',$gss4['shop_price']/($gss4['market_price'])*10)?>折</div>
	    	    							</div>
	    	    						</div>
	    	    					</li>
	    	    					</foreach>
	    	    				</ul>
	    	    			</div>
	    	    		</div>
	    	    	</div>
	    	    </div>
	    	    <div class="pro_con" style="display: none;">
	    	    	<div class="P_left">
	    	    		<div class="groDiv">
	    	    			<div style="position: relative;overflow: hidden;">
	    	    				<ul class="groUlOut">
	    	    				<foreach name='goods2' item="gss2">
	    	    					<li style="float: left;width: 224px;">
	    	    						<div class="s">新品上市</div>
	    	    						<a href="{{:U('goods',array('id'=>$gss2['id']))}}" class="pro">
	    	    							
	    	    							<img src="__PUBLIC__/Uploads/{{$gss2['mid_logo']}}"/>
	    	    						</a>
	    	    						<p class="box_glay">
	    	    							<a href="" class="pro_text">
	    	    								<span>{{$gss2['goods_name']}}</span>
	    	    							</a>
	    	    						</p>
	    	    						<p class="p_num">
	    	    							No.{{$gss2['id']}}
	    	    						</p>
	    	    						<div class="now_price">
	    	    							<div class="price">
	    	    								<span class="bigfont">
	    	    									<span class="f_14">￥</span><span>{{$gss2['shop_price']}}</span>
	    	    								</span>
	    	    								<span><del>￥{{$gss2['market_price']}}</del></span>
	    	    								<div class="zk"><?php echo sprintf('%.1f',$gss4['shop_price']/($gss4['market_price'])*10)?>折</div>
	    	    							</div>
	    	    						</div>
	    	    					</li>
	    	    					</foreach>
	    	    					
	    	    				</ul>
	    	    			</div>
	    	    		</div>
	    	    	</div>
	    	    </div>
	    	</div>
	        <!--第二区-->
	        <div class="ver_box">
                <ul class="qinha_ul ClearFix"></ul>
	        </div>
	        <div class="qinha_box">
	        	<div class="qinha_title">
	        		<div class="v_h2">
	        			<p class="h2_top">限时抢购</p>
	        			<p class="h2_bottom">天天特价 早10点强势上新 </p>
	        		</div>
	        	</div>
	        	<div class="qinha_cons">
	        	    <ul class="qinha_ul">

	        	    <foreach name='goods1' item="gss1">
	        	    	<li style="margin-right: 0;">
	        	    		<div class="djs_time">
	        	    			还剩<span>10:50:22</span>
	        	    		</div>
	        	    		<a href="{{:U('goods',array('id'=>$gss1['id']))}}"><img src="__PUBLIC__/Uploads/{{$gss1['big_logo']}}" style="width: 595px;height: 317px;"/></a>
	        	    	</li>
	        	    </foreach>
	        	  
	        	    </ul>
	        	</div>
	        </div>
	        <!--第二区-->
	        <!--第三区-->
	        <div class="jinpin_box">
	        	<div class="qinha_title">
	        		<div class="v_h2">
                        <p class="h2_top">热卖精选</p>
                        <p class="h2_bottom">品类齐全 轻松购物</p>
                    </div>
	        	</div>
	        	<ul class="jinpin_ul">
	        	  <foreach name='goods3' item="gss3">
	        		<li>
	        			<a href="{{:U('goods',array('id'=>$gss3['id']))}}"><img src="__PUBLIC__/Uploads/{{$gss3['big_logo']}}" /></a>
	        			<a href="{{:U('goods',array('id'=>$gss3['id']))}}" target="_blank" class="ppsx_tc">
                            <div class="ppsx_tc_xx">
                                <div class="ppsx_tc_xx1">
                                    <div class="ppsx_xx_zk"><span>{{$gss3['shop_price']}}</span>元起</div>
                                    <div class="ppsx_xx_qg">立即抢购</div>
                                </div>
                            </div>
                        </a>
	        		</li>
	        		</foreach>
	        	</ul>
	        </div>
	        <!--第三区-->

	        <!--第三区-->
	        <?php if(!empty($goods_his)){ ?>
	        <div class="jinpin_box">
	        	<div class="qinha_title">
	        		<div class="v_h2">
                        <p class="h2_top">历史浏览</p>
                        <p class="h2_bottom">曾经的不懂事</p>
                    </div>
	        	</div>
	        	<ul class="jinpin_ul">
	        	  <foreach name='goods_his' item="hiss">
	        		<li>
	        			<a href="{{:U('goods',array('id'=>$hiss['id']))}}"><img src="__PUBLIC__/Uploads/{{$hiss['big_logo']}}" /></a>
	        			<a href="{{:U('goods',array('id'=>$hiss['id']))}}" target="_blank" class="ppsx_tc">
                            <div class="ppsx_tc_xx">
                                <div class="ppsx_tc_xx1">
                                    <div class="ppsx_xx_zk"><span>{{$hiss['shop_price']}}</span>元起</div>
                                    <div class="ppsx_xx_qg">立即抢购</div>
                                </div>
                            </div>
                        </a>
	        		</li>
	        		</foreach>
	        	</ul>
	        </div>
	        <?php }?>
	        <!--第三区-->
	        <!--第四区-->
	        <div class="day_box">
	        	<div class="qinha_title">
	        		<div class="v_h2">
	        			<p class="h2_top">今日发现</p>
                        <p class="h2_bottom">精致好物 更快乐的生活</p>
	        		</div>
	        	</div>
	        	<ul class="day_goods">
	        		

	        		<foreach name="goods5" item="gss5">
	        		<li>
	        			<a href="{{:U('goods',array('id'=>$gss5['id']))}}" class="a_con_list">
	        				<p class="p_img"><img src="__PUBLIC__/Uploads/{{$gss5['mid_logo']}}"/></p>
	        			</a>
	        			<p class="p_title">
	        				<span>【<?php echo sprintf("%.1f",($gss5['shop_price']/$gss5['market_price'])*10); ?>折】</span>{{$gss5['goods_name']}}
	        			</p>
	        			<p class="p_p">
	        				<span class="price1">￥<span>{{$gss5['shop_price']}}</span></span>
	        				<span class="price2"><del>￥{{$gss5['market_price']}}</del></span>
	        				<a href="{{:U('goods',array('id'=>$gss5['id']))}}" class="gwc"></a>
	        			</p>
	        		</li>
	        		</foreach>>
	        	</ul>
	        </div>
	        <!--第四区-->
	    </div>
	    <!--商品区-->
	    <!--下拉搜索-->
	    <div id="nav" class="search_fixed">
	    	<div class="w1200">
	    		<div class="s_fixed_l"><img src="__PUBLIC__/Home/image/search_logo.png"/></div>
	    		<div class="s_fixed_r">
	    			<form action="" method="post">
                        <input placeholder="lumi 胶原蛋白" autocomplete="off" class="txt_f_sb" name="keyword" type="text">
                        <input value="搜索" class="f_btn_search" style="cursor:pointer" type="button">
	    			</form>
	    		</div>
	    	</div>
	    </div>
	    <!--下拉搜索end-->
	     <!--左侧导航-->
	    <div class="fixed_dh">
	    	<div class="f_r_top">
	    		<div class="top_i">
	    		    <i class="icon_user"></i>
	    		    <span>账号</span>
	    		</div>
	    		<div class="f_line">
	    			<p class="f_line1"></p>
	    			<p class="f_line2"></p>
	    		</div>
	    		<div class="f_gwc">
	    			<a href="">
	    				<i class="icon_car"></i>
	    			    <span>购物车</span>
	    			    <b class="car_num">0</b>
	    			</a>
	    		</div>
	    		<div class="f_line">
	    			<p class="f_line1"></p>
	    			<p class="f_line2"></p>
	    		</div>
	    		<div class="top_i">
	    		    <i class="icon_collect"></i>
	    		    <span>收藏</span>
	    		</div>

	    	</div>
	        <div class="f_bottom">
	        	<div class="f_sao">
	        		<div class="sao">
	        		<i class="ewm_img"></i>
	        		<div class="ewm_tc">
                    <div class="ewm_tc_bg">
                        <div class="down_app_icon"></div>
                        <img src="__PUBLIC__/Home/image/down_app_ewm.png">
                    </div>
	        		</div>
	        	</div>
	        	<div class="f_ke">
	        		<i class="online_cus"></i>
	        	</div>
	        	<div class="top_is">
	    		    <a href="javascipt:;">
	    		    	<i class="retrun_top"></i>
	    		    </a>
	    		</div>
	        </div>
	    </div>
	    </div>
	    <!--左侧导航-->
	    